package meconsea.webcoll.base.entity;

import java.util.UUID;

/**
 * <p>�ò��ִ���Դ��warp-persist/example</p>
 * @author meconsea
 *         MSN:  meconsea@hotmail.com
 *         Mail: wangzhanhai@139.com
 *  
 * Generates unique identifiers.
 */
public class IdGenerator {

	/**
	 * Create a UUID.
	 * 
	 * @return The UUID.
	 */
	public static String createId() {
		UUID uuid = java.util.UUID.randomUUID();
		return uuid.toString();
	}
}
